/**
 * com.dingjian.basedata.person.model.Person.java
 */
package com.dingjian.basedata.person.model;

import java.util.Date;

import com.dingjian.basedata.DataEntity;
import com.dingjian.basedata.person.enums.SexEnum;
import com.dingjian.basedata.person.enums.UserStatusEnum;

/**
 * @author FengMy
 * 
 * @since 2012-9-10
 */
public class Person extends DataEntity{
	private static final long serialVersionUID = -5002130462652639382L;
	/**
	 * 曾用名
	 */
	private String oldName;
	/**
	 * 证件号码
	 */
	private String idCard;
	/**
	 * 出生日期
	 */
	private Date birthday;
	/**
	 * 性别
	 */
	private SexEnum sex;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 短号
	 */
	private String shortNumber;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 紧急联系人
	 */
	private String crashContract;
	/**
	 * 紧急联系人电话
	 */
	private String contractPhone;
	/**
	 * 照片
	 */
	private String photo;
	/**
	 * 登录用户名
	 */
	private String userName;
	/**
	 * 登录密码
	 */
	private String password;
	
	/**
	 * 用户状态
	 */
	private UserStatusEnum status;
	
	/**
	 * 主要任职信息(冗余字段)
	 */
	private PersonPosition personPosition;
	
	public String getOldName() {
		return oldName;
	}
	public void setOldName(String oldName) {
		this.oldName = oldName;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public SexEnum getSex() {
		return sex;
	}
	public void setSex(SexEnum sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getShortNumber() {
		return shortNumber;
	}
	public void setShortNumber(String shortNumber) {
		this.shortNumber = shortNumber;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCrashContract() {
		return crashContract;
	}
	public void setCrashContract(String crashContract) {
		this.crashContract = crashContract;
	}
	public String getContractPhone() {
		return contractPhone;
	}
	public void setContractPhone(String contractPhone) {
		this.contractPhone = contractPhone;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserName() {
		return userName;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}
	public void setPersonPosition(PersonPosition personPosition) {
		this.personPosition = personPosition;
	}
	public PersonPosition getPersonPosition() {
		return personPosition;
	}
	public void setStatus(UserStatusEnum status) {
		this.status = status;
	}
	public UserStatusEnum getStatus() {
		return status;
	}
}
